package org.example.studentsystem_back.vo.notificitionsVo;

import lombok.Data;
import org.example.studentsystem_back.domain.Notifications;

@Data
public class NotificationsIdVo extends Notifications{
    private int suiId;
    private String yingDate;
    public void setNotifications(Notifications notifications){
        this.setNotificationId(notifications.getNotificationId());
        this.setCategory(notifications.getCategory());
        this.setTitle(notifications.getTitle());
        this.setContent(notifications.getContent());
        this.setIssuingDepartment(notifications.getIssuingDepartment());
        this.setSentDate(notifications.getSentDate());
        this.setRecipient(notifications.getRecipient());
    }
}
